<?php
require_once "admin/Model/Home.php";
require_once("seo.php");
$modelHome = new Home;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $title; ?></title>
<meta name="description" content="<?php echo $metaD ;?>" />
<meta name="keywords" content="<?php echo $metaK ;?>" />
<base href="http://<?php echo $_SERVER['SERVER_NAME'];?>/mercy/" />
<link href="css/reset.css" media="screen" rel="stylesheet" type="text/css" />
<link href="css/general.css" media="screen" rel="stylesheet" type="text/css" />
<link href="css/mercy.css" media="screen" rel="stylesheet" type="text/css" />
<link href="css/fix_device.css" media="screen" rel="stylesheet" type="text/css" />

<script language="javascript" type="text/javascript" src="js/jquery-1.8.1.min.js"></script>
<!--[if lte IE 6]>
     <script type="text/JavaScript" src="js/PngFix.js"></script>
     <script type="text/javascript">
   	 	$(document).ready(function() {
     		DD_belatedPNG.fix('.png');
    	});
  	 </script>
<![endif]-->

<!-- bxSlider Javascript file -->
<script src="js/jquery.bxslider.min.js"></script>
<!-- bxSlider CSS file -->
<link href="css/jquery.bxslider.css" rel="stylesheet" />
<script>
	$(document).ready(function(){
	  	$('.bxslider').bxSlider();
	});
</script>
<script language="javascript" type="text/javascript" src="js/common.js"></script>


</head>

<body>
<div class="topbar">
	<?php include "blocks/header.php"; ?>
    <?php include "blocks/menu.php"; ?>
</div>
<div id="wrapper_container">
	<div id="container">
       <?php if($mod=='') { ?> 
       <div id="wrapper_header">
            <?php include "blocks/slideshow.php"; ?>
            <?php include "blocks/nhatki.php"; ?>
        </div>
       <?php } ?>    
        <?php
        if($mod=='menu' && $list_type==1) include "page/cate.php";
        if($mod=='menu' && $list_type==2) include "page/blog.php";
        if($mod=='detail') include "page/detail.php";
        if($mod=='') include "blocks/producthot.php";        
        ?>     
        <?php  ?>

        </div>
        <div id="wrapper_category">
            <div class="">
                <?php include "blocks/footer.php"; ?>
            </div>
        </div>
        <div id="wrapper_footer">
            <div class="info">
            	Copyright © Mercy 2013
            </div>
        </div>
        </div>
</div>
</body>
</html>
